<?php
/**
 * Created by PhpStorm.
 * User: hebidu
 * Date: 15/12/7
 * Time: 10:39
 */

namespace Shop\Api;


use Common\Api\Api;
use Shop\Model\StockHisModel;

class StockHisApi extends Api {


    /**
     * 查询，不分页
     */
    const QUERY_NO_PAGING = "Shop/StockHis/queryNoPaging";
    /**
     * 添加
     */
    const ADD = "Shop/StockHis/add";
    /**
     * 保存
     */
    const SAVE = "Shop/StockHis/save";
    /**
     * 保存根据ID主键
     */
    const SAVE_BY_ID = "Shop/StockHis/saveByID";

    /**
     * 删除
     */
    const DELETE = "Shop/StockHis/delete";

    /**
     * 查询
     */
    const QUERY = "Shop/StockHis/query";
    /**
     * 查询一条数据
     */
    const GET_INFO = "Shop/StockHis/getInfo";

    public function _init(){
        $this->model = new StockHisModel();
    }

}